package com.code.day02;

public class Test1 {
    public static void main(String[] args) {
        byte b1 = 10 ;
        byte b2 = 20 ;
        byte b3 = (byte) (b1+b2);
        System.out.println(b3);
        System.out.println("==================================================");
        short s1 = 1000;
        short s2 = 2000;
        short s3 = (short) (s1+s2);
        System.out.println(s3);
        System.out.println("==================================================");
        char ch1 = 'a';
        int i1 = 30;

        int ch3 = ch1-i1;
        System.out.println(ch3);

    }
}
